package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 用户钱包(Wallet)实体
 * @author cc
 * @since 2020-06-20 09:43:00
 */
@ApiModel(value="用户钱包")
@Data
public class Wallet implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id    
    @ApiModelProperty(value="用户id")
    private Integer userId;

    //心钻    
    @ApiModelProperty(value="心钻")
    private BigDecimal xinzuan;

    //爱心    
    @ApiModelProperty(value="爱心")
    private BigDecimal aixin;

    private BigDecimal score;

        
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

        
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private Integer version;
}